added authentication and viewing saved emails