refactoring resource / auth service and profile controller
adding change password possiblity
adding unique to email and db