Added bootstrap validator and fixed login form validation