Dealing with session and death

User login