Modified admin in order to be used in appengine