Modified DB and login and registration controllers
Modified training controller, so that it contains 2 separate methods to get and post data to BD