updated sign in route, up/down vote function, and email delivery permission