I've started learning Drupal (I'm starting with Drupal 7) and the best way to do that seemed to me to be in creating a custom theme from scratch.
I'm trying to create a menu in which the login form is displayed if the users are not logged in and the user menu if they are logged in. How do I go about doing this in proper Drupal fashion?