Login/Logout Update

+ Fixed login and logout
+ Added server side and client side checks to see if user is logged in
+ Added server timer to look for inactive users and log them out
+ Added client timer to check to see if still logged in on the server
+ Added function to take time out of token for comparing purposes