fixed login empty form issue