customer controller and user authentication setup