User Stuff

Current User

$user = \Drupal::currentUser();

User Logged In?

\Drupal::currentUser()->isAuthenticated()