I concur with Ashish 
if (!user) 
 return 

Do something

The code is more readable this way