Made sure pins cannot only be accesible by their owners who have already logged in