add sorting by ranking; login button if no current_user