user login register logout methods added and working