allow login via (user OR email)
added shared_resources scaffold