worked on session and user models