filter book in the request through 'type' parameter instead of filtering on client side
.auth{
display:block;
margin:auto;
}
.auth input{
width: 300px;
margin: 10px 0;
}
.ng-invalid {
border-color: red;
outline-color: red;
}
.messages {
font-size: smaller;
padding-top: 5px;
padding-bottom: 10px;
color: red;
}