authentication methods
add basic authentications to controllers
fix search due to barcode to id change
Revert a856dec..0949dbc

This rolls back to commit a856dec564a2d04e47bd850065d376b88fe8cb07.
fix search due to barcode to id change
fix shop title display
remove wrong authenticate_role
fix administrater typo
add dashboards for manager and admin