login & registration functional with database
re-commit login and registration