App now works with login activity.