moved errors flash to layout
half-done password authentication
password confirmation implementation