login logout function added to jaggery app