Added form validation when creating new resources. Improved the login modal css.