updated authentication module controller and views