fixed log_last_modified trigger and getlogs sql
user profile layout details