moved git username and password to the app file
moved check for order to app file
added login user create session to app file
added user registration to app file
moved methods from the model file back to the app file.