User view: added password validation