Commented methods of Layout and User class