added login security and more functionality to product admin