added user regisration, signup, logout