fixed MRNumber
added auto log out after 5 minutes