New Login

Added user login/logout/register functionality