add resource for login