bug 649: changed name of function get_user_id_from_mail to get_user_id_from_email and corrected trim function call
bug 649: indented html part
bug 649: moved trim function
bug 649: added function to get number of activity
bug 649: added function for write_se_log for assurer status
bug 649: added check for numbers of assurer status request per hour