How we can connect a login form user interface with database to store login information?