Fixed merge request issues
Added basic authentication(login and logout), reordered methods and added persistence of data in the form after an error.
Added basic authentication(login and logout), reordered methods and added persistence of data in the form after an error.