[fix] getUserId function only compares email, since that is the only field necessary to ensure uniqueness
[fix] after session timeout, profile redirects to the home page