removed company_id from template
changed InvitedMember model
fixed bug in creating invited member object
check for existing user during signup
fixed linking third party netowrk and custom logins