Filtering records by columns and/or rows, Login, Logout (Reusable
functions)