Added userId to session storage. Now user will be logged in after page refresh