adding login from auth function to user model (for use with addons)