chaning timeout for sessions and refactoring User's views