fixed login scenation