Login

Added login/register functionality.