Corrected HTML errors and improved design of pages.

Corrected the display of flash messages in login page.
Made html changes in login page, registration page, and lost password page.