Fixed login,added log via facebook