Credentials handling in user