user profile page work done

next: remove remove user name from ui.js and implement in profile.js
profile_legend moved from ui.js to profile.js
profile authorization check is done
validation2.js was created

validation.js will not be used any more; some work done on profile.js