add favourite api to subject
add favourites model
fix bug checking login in api_controller
add database limit to my_model