Separated Login endpoints from SampleController,
Initial design of login started>