Added null exception for last login