Preparing for logout method for user
Added logout information and auto clearing method for users who close browsers