Does registration and login

Added registration and login sends email and password to server  to
register and login does not actually launch app yet
small tweeks

added a redirect to registration which needs to be disabled if there is
a password registered