fixed some minor problems with layout, and login