Steps to implementing a database for logins