update adding login / logout funtionality