server side and temp client side repository for alarm app