Removed hosted domain restriction

domain restriction resulted some complications and also openid usage
refactored