Fix $resource calling
Remove checking of user logged state