Simple Login and Logout with encription