Added Server Login and Sign Up support.

Added a registration window and completed login back-end as well.