Test added to check if user is logged in and a before_filter added in ststuses_controller