making user resources to have a secure log in