Attempted to add login and signup

Implemented flash and error as well, although they don't work quite so
well. Small change to the secret key