added logged in user and logout in tasks partial
added api calls for user model