login route now retrieves and displays user photo in top bar