Fixed security flaw and added new card system