added an ajax request to get current user, made it so that favorite buttons only display when a user is logged in, fixed a bug on hiding/showing previous and next buttons