user login test changes

changed faulty if current_user test to user_signed_in? to determine is a user is logged in