Form validation

##DONE
* Removed alerts
* Added form validation

##TODO
* Same behavior for access key validation when it's ready.