Added bug fixes to cloud software and added authorization for cloud access