User controller added, login redirect functionality.