When user logs in, a REST error is displayed saying that there is a SQL bind exception. This is caused by using 0 and 1 instead of true and false in JPA queries.