Added logging out to api controller
Added routes associated with logging out