Implement login/logout actions with ui-router