Started reworking the authentication system. Addding social login support.