Fixed errors in prepared statements
Added song limit checking to the system