Login and Register changes

Restoring functionality to both login and register, added password
confirm for registration