login additions
added buttons to log in, log out, and check login (by querying the userProfile backend route)
still a lot to fix, mainly due to having to use window.open for login (redirects to user profile JSON dump; does not return anything to the frontend) - see FIXME items in code