added foundation. added user model spec and refactored user controller spec