added basic password verification and nicer form layout