Added Login and Logut System

Added login and log out system using status check