added models and controllers config files and refactored accodringly
injected user into user controller