fixing username already exist & add paging