auto login working, invite system needs to be modified around emails