Fix deploy and secure it