Implemented very basig signup/login functionality.
Authored by: epandurski 2009-12-20
Parent: [r287]
Child: [r289]