another attempt to update devise authentication
Added basic pagenation