Update meher.js

Updating Validation logic and sessions