updated sessions
updated users to include message notification, time stamp and password check