Added index to users email and password authentication