Additional security check on update profile
Profile update split into profile itself and password

Also removed a useless method from security.