make it support login
change rendered json for events
fix for login and events api
add remote loading for system_logs