Adding frontend validation and some plugins to work with facebook login