Re-styled registration form and fixed code styling