Hey @Pixsley , welcome to our community.
Can you explain a little more?
Database can be created wherever you like and you just have to create a database connection within wappler in order to work with wappler.
Database and pages are in the same server?
Have you created a new login page with wappler?
If yes, the only thing you need to do is add first thing in your api the security identify module to keep track of the log-in info (if there is) and after that a security resctrict in order to restrict the access in only allowed members/groups…
Can you understand what I’m saying?
Have you gone through any steps of the above?
I suggest you to take some time and watch these beatifull videos from @Hyperbytes and @ben