At this point we don't know if the user is logged in. 

Move the line after the `if (!$current_user)` block and follow the existing conventions on comments: Single line comments should be on the line before and be readable. Maybe your IDE removed the spaces?