fixing bug current user not available if user not

logged in
posts minor formatting changes