Added simple login, logout, isLogged and get profile