Added user details and password change

Added organisation preferences
Added password reset
Added email sending