basic register functionality
ensured that passwords matched
very basic login and registering functionality complete