modifed get_access gui, and added more error handling in the client