Fixed Upload bug
Updated security and bugged login