fixed alot of things, app is working now