add query interface to api index endpoints
update login page to look similiar to the locker login page
redirect to index page on logout
pass the current user to index page
add token to index page