move signed_in_user method to sessions helper to be used in microposts controller