Fixed error in LoginProcedure.sql