Added toString method for User class