fixed css styling and redirection errors
added css code to form and grid views