Further work on user details modal, added some basic validation