added in user database, login and registration forms work