separation of server and pincode code