Added correct permission check for listing applications/coursework
name of application is now created by a combination including the creation date that will fix the problem of name being a unique key