Separate security and unsecurity server code.