fixed login reg