Added nicer alerts to the sample.
Continued implementation of log-in/sign-up pages.
Implemented log out.