Added registration and mock login