layout changes, login functionality improved