Basic funcionality for login/out;
Very nice.