User login, logout now functional