using sample_app for user login