fixed login issues; implement logout function on the client side