forgot to add onclick reference to validate profile