Updated comments and formatting in login, main and home