Handling user password setting