fixes #2508 The login form macro needs styling help

Fixed the issue committed code for review.Please check it.