redirects logged in users from homepage to reps
fixed bug in index
correct getReps() comment
added the start of an email function