Major issues in login fixed