Add pagination feature and signup function