added permission event data to sysevent view
finished permission methods
bugfix and some more work on user auth